<!DOCTYPE html>
<html>
<head>
<title>系统概述</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=8, IE=9, IE=10, chrome=1" />
<meta name="renderer" content="webkit" />
<link href="${ctx }framework/css/font.css" rel="stylesheet" />
<link href="${ctx }framework/miniui/themes/material/miniui.css" rel="stylesheet" />
<link href="${ctx }framework/css/app.min.1.css" rel="stylesheet" type="text/css" />
<link href="${ctx }framework/css/app.min.2.css" rel="stylesheet" type="text/css" />
<script src="${ctx }framework/main.js"></script>
<style type="text/css">
.input-group-addon{width:160px;text-align: right;}
</style>
<script type="text/javascript">
	Page.onLoad(function(){
		mini.get('ParentId').load({Type:'${Type}'});	
		});
</script>
</head>
	<body class="dialog">
		<form id="form2">
			<div class="container-fluid">
				<div class="row">
					<div class="col-xs-12">
					 	 <div class="input-group" style="margin-top:8px;display:none" >
							<span class="input-group-addon"></span>
							<input id="Id" name="Id" type="hidden"  class="mini-textbox" value="${Id}" required="true"/>
							<input id="Type" name="Type" type="hidden"  class="mini-textbox" value="${Type }" required="true"/>
						</div>
						<div class="input-group" style="margin-top:8px;">
							<span class="input-group-addon">父级菜单</span>
							<input id="ParentId" name="ParentId" class="mini-treeselect" method="EaoGrid.getMenus" textField="Title" style="width:200px" resultAsTree="false" idField="Id" parentField="ParentId" value="" valueField="Id"/>
						</div>
						<div class="input-group" style="margin-top:8px;">
							<span class="input-group-addon">菜单名称</span>
							<input id="title" name="title" class="mini-textbox" value="" required="true"/>
						</div>
						<div class="input-group">
							<span class="input-group-addon">排序</span>
							<input id="position" name="position" class="mini-textbox" value="" required="true"/>
						</div>
						<div class="input-group">
							<span class="input-group-addon">是否启用</span> 
							<div 
								id="IsShow" name="IsShow"
								class="mini-radiobuttonlist" 
								repeatItems="2" 
								repeatLayout="" 
								repeatDirection="horizontal"
							    textField="text" 
							    valueField="id" 
							    value="0"
							    data="[{id:0,text:'启用'},{id:1,text:'不启用'}]" >
							</div>
						</div>
					</div>
				</div>
			</div>
		</form>
	</body>
</html>